#include "NetworkTask.h"

NetworkTask::NetworkTask(QObject *parent)
    : QObject{parent}
{

}

NetworkTask::NetworkTask(BaseRequest *request, BaseResponse *response, int taskId):
    m_request(request),
    m_response(response),
    m_taskId(taskId)
{

}

NetworkTask::~NetworkTask()
{
    delete m_request;
    delete m_response;
}
